apicfg = {};
apicfg.ver = '5.14';
apicfg.lang = 'en';

apiauth = {};
apiauth.domain = 'https://oauth.vk.com/';
apiauth.method = 'authorize?';
apiauth.client = 'client_id=4218952';
apiauth.scope = '&amp;scope=notify,friends,photos,audio,video,docs,notes,messages,pages,status,wall,groups,notifications,stats,offline';
apiauth.redir = '&amp;redirect_uri=blank.html';
apiauth.disp = '&amp;display=popup';
apiauth.resp = '&amp;response_type=token';
apiauth.url = apiauth.domain+apiauth.method+apiauth.client+apiauth.scope+apiauth.redir+apiauth.disp+apiauth.resp;